package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.entity.HotSetMealVO;
import com.itheima.pojo.Setmeal;

import java.util.List;

/**
 * @Description 套餐持久层访问接口
 * @Author makun
 * @Date 2023/9/14 15:39
 * @Version 1.0
 */
public interface SetMealMapper extends BaseMapper<Setmeal> {
    /**
     * 获取热门套餐排行榜
     * @param amount 限制个数
     * @return
     */
    List<HotSetMealVO> selectHotSetMealRank(Integer amount);
}
